package com.mk.common.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.EL;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Prev;
import org.nutz.dao.entity.annotation.Table;

@Table("Person")
public class Person
{
	@Name
	@Prev(els={@EL("uuid(32)")})
	@Column
	private String id;
	@Column("person_name")
	private String personName;
	@Column("person_age")
	private Integer personAge;
	@Column("person_weight")
	private Double personWeight;
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getPersonName()
	{
		return personName;
	}
	public void setPersonName(String personName)
	{
		this.personName = personName;
	}
	public Integer getPersonAge()
	{
		return personAge;
	}
	public void setPersonAge(Integer personAge)
	{
		this.personAge = personAge;
	}
	public Double getPersonWeight()
	{
		return personWeight;
	}
	public void setPersonWeight(Double personWeight)
	{
		this.personWeight = personWeight;
	}
	@Override
	public String toString()
	{
		return "Person [id=" + id + ", personName=" + personName + ", personAge=" + personAge + ", personWeight="
				+ personWeight + "]";
	}
	
	
	
	
}
